/**
 *
 */
package info.san.efd.xml;

import java.util.Date;
import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

/*
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>
 *
 */

/**
 * Class representing a project file.
 *
 * @author ANGELLOZ-NICOUD Sébastien
 *
 * @version 1.0
 */
@XmlRootElement(name="project")
public class ProjectFile {

    @XmlElement(name="name")
    private String name;
    @XmlElement(name="creationDate")
    private Date creationDate;
    @XmlElement(name="outputPath")
    private String outputPath;
    @XmlElement(name="startUrl")
    private String startUrl;

    @XmlElement(name="file")
    @XmlElementWrapper(name="files")
    private List<TransfertFile> files;

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getCreationDate() {
        return this.creationDate;
    }

    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }

    public String getOutputPath() {
        return this.outputPath;
    }

    public void setOutputPath(String outputPath) {
        this.outputPath = outputPath;
    }

    public String getStartUrl() {
        return this.startUrl;
    }

    public void setStartUrl(String startUrl) {
        this.startUrl = startUrl;
    }

    public List<TransfertFile> getFiles() {
        return this.files;
    }

    public void setFiles(List<TransfertFile> files) {
        this.files = files;
    }

}
